﻿/* for app.master page which defined in View/Share/App.Master
-------------------------------*/
body
{
    background-color: #C0C0C0;
    font-size: .75em;
    font-family: 宋体,Arial,Verdana,Helvetica,Sans-Serif;
    margin: 0;
    padding: 0; /*color: #696969; /*background-image: url('images/bg.png');*/
}

a:link
{
    color: #034af3;
    text-decoration: underline;
}
a:visited
{
    color: #505abc;
}
a:hover
{
    color: #1d60ff;
    text-decoration: none;
}
a:active
{
    color: #12eb87;
}

p
{
    margin-bottom: 20px;
    line-height: 1.6em;
}

input[type="password"], input[type="text"], textarea
{
    width: 200px;
    border: 1px solid #CCC;
}



/* middle layout 
-----------------------------------------------------------*/
.middle
{
    text-align: center;
    position: relative;
    width: 50px;
    margin: auto 0;
}
.middle div
{
    position: absolute;
    top: 50%;
    left: 0;
}
.middle div div
{
    position: relative;
    top: -50%;
    left: 0;
}

/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

/* you can specify a greater or lesser percentage for the 
page width. Or, you can specify an exact pixel width. */

#topMenuBar
{
    width: 100%;
    height: 34px;
    _text-align: center;
}

.page
{
    width: 95%;
    margin: 0 auto;
}

#header
{
    position: relative;
    margin-bottom: 0px;
    color: #000;
    padding: 0;
}

#header h1
{
    font-weight: bold;
    padding: 5px 0;
    margin: 0;
    color: #fff;
    border: none;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 32px !important;
}

#main
{
    padding: 30px 30px 15px 30px;
    background-color: #fff;
    margin-bottom: 30px;
    _height: 1px; /* only IE6 applies CSS properties starting with an underscrore */
}

#footer
{
    color: #999;
    padding: 10px 0;
    text-align: center;
    line-height: normal;
    margin: 0;
    font-size: .9em;
    clear: both;
}

/* TAB MENU   
----------------------------------------------------------*/
ul#menu
{
    border-bottom: 1px #70A668 solid;
    padding: 0 0 2px;
    position: relative;
    margin: 0;
    text-align: right;
    border-bottom-width: 12px;
}

ul#menu li
{
    display: inline;
    list-style: none;
}

ul#menu li#greeting
{
    padding: 10px 20px;
    font-weight: bold;
    text-decoration: none;
    line-height: 2.8em;
    color: #fff;
}

ul#menu li a
{
    padding: 10px 20px;
    font-weight: bold;
    text-decoration: none;
    line-height: 2.8em;
    background-color: #70A668;
    color: #CCFF99;
}

ul#menu li a:hover
{
    text-decoration: underline;
    color: #CCFF99;
}

ul#menu li a:active
{
    background-color: #a6e2a6;
    text-decoration: none;
}

ul#menu li.selected a
{
    background-color: #fff;
    color: #000;
}

/* FORM LAYOUT ELEMENTS   
----------------------------------------------------------*/

fieldset
{
    margin: 1em 0;
    padding: 1em;
    border: 1px solid #CCC;
}

legend
{
    font-size: 1.1em;
    font-weight: 600;
    padding: 2px 4px 8px 4px;
}



/* css form
------------------------------------------------------------------------------*/

/*Credits: Dynamic Drive CSS Library */
/*URL: http://www.dynamicdrive.com/style/ */

.cssform p, .cssform .fieldItem
{
    width: 65%;
    clear: left;
    margin: 0;
    padding: 5px 0 8px 0;
    padding-left: 135px; /*width of left column containing the label elements*/ /*border-top: 1px dashed gray;*/
}

.cssform label
{
    font-weight: bold;
    float: left;
    margin-left: -105px; /*width of left column*/
    width: 105px; /*width of labels. Should be smaller than left column (155px) to create some right margin*/
}

.cssform input[type="text"], .cssform input[type="password"]
{
    /*width of text boxes. IE6 does not understand this attribute*/
    width: 150px;
}

.cssform textarea
{
    width: 150px;
    height: 80px;
}

/*.threepxfix class below:
Targets IE6- ONLY. Adds 3 pixel indent for multi-line form contents.
to account for 3 pixel bug: http://www.positioniseverything.net/explorer/threepxtest.html
*/




/* TABLE
----------------------------------------------------------*/

table
{
    border-collapse: collapse;
}

table td
{
    padding: 5px;
    border-width: 1px;
    border-style: solid;
}

table th
{
    border-width: 1px;
    border-style: solid;
}

/* MISC  
----------------------------------------------------------*/
.clear
{
    clear: both;
}

#menucontainer
{
    margin-top: 10px;
}

div#title
{
    display: block;
    text-align: left;
    margin-top: 10px;
}


.field-validation-error
{
    color: #ff0000;
}

.input-validation-error
{
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}

.validation-summary-errors
{
    font-weight: bold;
    color: #ff0000;
}

/* ajax progressbar
-------------------------------------*/
div#progressbar
{
    z-index: 1;
    width: 100%;
    height: 100%;
    display: none;
    position: absolute;
    left: 0px;
    top: 0px;
    float: left;
    background-color: #fff;
    filter: Alpha(opacity=50);
    -moz-opacity: .5;
    opacity: 0.5;
}
div#progressbar div
{
    background-image: url('media/ajax-loader.gif');
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 100%;
}



/*JQuery Icon style
sample:
<span class="iconContainer">
    <input type="text" value="admin" name="Name" id="Name"/>
        <span class="ui-icon ui-icon-check"></span>
</span>
------------------------------*/

.iconContainer
{
    position: relative;        
}
.iconContainer .ui-icon
{
    position: absolute;
    top: 50%;
    margin: -8px 5px 0 0;
    left:100%;
}
.error
{    
    margin-left:16px
}


